package com.runa.monitor.platinterface;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 通信服务入口主函数
 * @author zhuj
 * 注：该服务程序的代码注释将就着看，实在看不明白就算了
 */

@EnableAsync
@EnableJpaRepositories({"com.runa.persistence"})
@EntityScan(value = {"com.runa.monitor.comm.entity", "com.runa.persistence.entity"})
@ComponentScan(value = {"com.runa.monitor","com.runa.persistence","com.runa.rccprotocol"})
@SpringBootApplication
public class PlatInterfaceApplication {

    public static void main(String[] args) {
        SpringApplication.run(PlatInterfaceApplication.class, args);
    }

}
